<%@ include file="/common/include.jsp"%>
<%@ page contentType="text/html; charset=utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<jsp:include page="../../../common/head.jsp">
			<jsp:param name="_useCalendar" value="true"/>
		</jsp:include>
		<script language="javascript">
	function saveinfo()
	{
		var objarr = new Array(
			["sysMessageTemplate.messageTemplateName","系统消息模板名称","notEmpty",""],
			["sysMessageTemplate.messageTemplateName","系统消息模板名称","max","String:100"],
			["sysMessageTemplate.templateContent","模板内容","notEmpty",""]
		);	
		if(xj.CheckAll(objarr))
		{
			if(confirm("确认保存？"))
			{
				document.form1.submit();
			}
		}
	}
</script>

		<title>添加消息模板信息</title>
	</head>
	<body>
		<form action="addMessageTemplate.do" name="form1" method="post">
			<div id="body_div">
				<w:ShowTitle name="添加消息模板信息">
					<w:TitleButton funcName="保存" onClickFunction="saveinfo()" urlImg="${ctx}/images/main/save.png" funcType="link" />
				</w:ShowTitle>
				<div id="body_content">
					<table width="100%">
						<tr>
							<td class="right_align">
								系统消息模板名称
							</td>
							<td class="left_align">
								<input type="text" name="sysMessageTemplate.messageTemplateName"/>
							</td>
						<tr>
							<td class="right_align">
								模板内容
							</td>
							<td colspan="3" class="left_align">
								<textarea cols="80" rows="10" name="sysMessageTemplate.templateContent"></textarea>
							</td>
						</tr>
						<tr>
							<td class="right_align">
								模板说明
							</td>
							<td colspan="3" class="left_align">
								<textarea cols="80" rows="5" name="sysMessageTemplate.templateNote"></textarea>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</form>
	</body>
</html>
